package cn.sfturing.entity;

public class Admin {
    private Integer Adid;//管理员ID
    private String AdName;//管理员账号
    private String password;//管理员密码
    private String state;

    //临时属性
    private String hospitalName;//医院名
    private Integer rank;//权限等级
    private Integer doctorId;//医生id

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Integer getAdid() {
        return Adid;
    }

    public void setAdid(Integer adid) {
        Adid = adid;
    }

    public String getAdName() {
        return AdName;
    }

    public void setAdName(String adName) {
        AdName = adName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Admin(Integer adid, String adName, String password, String state) {
        Adid = adid;
        AdName = adName;
        this.password = password;
        this.state = state;
    }

    public Admin(String AdName, String state) {
        this.AdName = AdName;
        this.state = state;
    }

    public Admin() {
    }

    @Override
    public String toString() {
        return "Admin{" +
                "Adid=" + Adid +
                ", AdName='" + AdName + '\'' +
                ", password='" + password + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
